﻿using System.Collections.Generic;
using yiCommerce.Core;
using yiCommerce.Core.Domain.Statuses;

namespace yiCommerce.Service.Statuses
{
    public interface IStatusService
    {
        Status Update(string text, int customerId, IList<int> pictureIds, bool isProudct, int? productId, IList<string> Tags );
        IList<Status> UserTimeLine(int customerId, int pageIndex, int pageSize);
        IList<Status> HomeTimeLine(int customerId,int pageIndex,int pageSize);
        IList<Status> HomeTimeLineProduct(int customerId,int pageIndex,int pageSize);
        Status GetStatusById(int statusId, bool loadComments);
        IPagedList<Status> FindStatusByTag(string tagName, int pageIndex, int pageSize);

        void GivePointToStatuses(int statusId, int customerId, int point = 1);
        int? GetPointOfStatus(int statusId);
    }
}